export interface IUser{
    id: number;
    name: string;
    password: string;
    avatar: string;
    sex: number;

    phone: string;
    
    birth: Date;

    introduction:string;

    location:string;
}
//歌手数据
export interface ISinger{
    id: number;
    name: string;
    sex: number;
    singerPic: string;
    birth: Date;
    location: string;
    areaType: number;
}

export interface IPlayList{
    id: number;
    title: string;
    picUrl: string;
    introduction: string;
    style: string;//后期改为number或者自定义类型
}

export interface ISong{
    //要有一个根据歌手id获取歌手姓名，这里很奇妙的是音乐歌手如何获取的，音乐歌名就是前面是歌手名，后面歌曲名-隔断，这个隔断获取的
    id: number;
    name:string;
    source:string;
    lyric:string;
    songUrl:string;
    songPic:string; //歌曲图片的url
}
export interface IPlayListComment{
    id: number;
    playListId :number;
    userId: number;
    createTime: Date;
    //up: number;
    content: string;
    //username: string;//这个先设默认
    //avatarUrl: string;//这个也先设默认
}
export interface IBanner{
    id: number;
    bannerUrl: string;
}